﻿using AutoMapper.Configuration.Conventions;
using BanquetPortion.Models;
using Microsoft.EntityFrameworkCore.ChangeTracking.Internal;
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace BanquetPortion.Services
{
    public interface IDataDictionaryRepository
    {
        Task<IEnumerable<DataDictionary>> GetDataDictionarysAsync();
        Task<DataDictionary> GetDataDictionaryByIdAsync(int dataDictionaryId);
        void CreateDataDictionary(DataDictionary dataDictionary);
        void DeleteDataDictionary(DataDictionary dataDictionary);
        Task<bool> DataDictionaryExistsAsync(int dataDictionaryId);
        Task<bool> SaveAsync();
    }
}
